package com.educate.upms.dao;

import com.educate.upms.dao.impl.UpmsSystemDaoImpl;
import com.educate.upms.model.bo.UpmsSystemBO;
import com.educate.upms.model.po.UpmsSystem;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UpmsSystemDao extends MongoRepository<UpmsSystem, String> {

    /**
     * #{@link UpmsSystemDaoImpl#query(UpmsSystemBO, Pageable)}
     */
    Page<UpmsSystem> query(UpmsSystemBO bo, Pageable pageable);
}
